home *** CD-ROM | disk | FTP | other *** search
- Path: news.jaguNET.com!news
- From: droddey@jagunet.com
- Newsgroups: comp.lang.rexx,comp.os.os2.programmer.misc
- Subject: Re: OS/2: beeping chords
- Date: 25 Feb 1996 21:46:34 GMT
- Organization: jaguNET Access Services
- Distribution: inet
- Message-ID: <4gqlbq$s1b@skydiver.jaguNET.com>
- References: <4fu9pa$gdk@newsbf02.news.aol.com> <825228111snx@anweald.exnet.co.uk>
- Reply-To: droddey@jagunet.com
- NNTP-Posting-Host: dlup-bbb.jagunet.com
- X-Newsreader: IBM NewsReader/2 v1.2.5
-
- In <825228111snx@anweald.exnet.co.uk>, ph@anweald.exnet.co.uk (Patrick Herring) writes:
- >Anyone know if the beep() function can be used to do more than one note at
- >once? I've tried using threads with ydbautil but the notes come out in
- >sequence. There may be a hardware restriction (ThinkPad 700C), but win-os2
- >used to be able to do its tada thing alright. I have the feeling that 2.x
- >verions were able to use the alarm speaker as a sound device, but that Warp
- >can't lest we fail to appreciate mmos2.
- >
-
- The system speaker could replay anything of course, if the hardware can do it.
- Unfortunately the sound from the speaker is created via a single timer channel on
- the system timer chip that is used to oscilate the speaker. Since there is only a
- single timer channel available, it can only be used by one thread at a time.
-
- If your system has any multi-media capabilites or a built in DSP, then you might be
- able to use them to get a better effect.
-
-
- Dean Roddey
- CIDCorp, The CIDLib Class Libraries
- droddey@jagunet.com
- http://www.jagunet.com/~droddey/
-
-
-